package com.cg.javafxdemospring.service;

import com.cg.javafxdemospring.dao.ImportDao;
import javafx.scene.control.TextArea;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 陈刚
 * @ClassName ImportExcel
 * @Description //TODO
 * @create 2020-08-06 16:20
 */
@Service
public class ImportExcelService {

    @Autowired
    ImportDao importDao;

    public void syncData(List<List<String>> lists, TextArea textArea){
        importDao.syncData(lists, textArea);
    }
}
